Implementing a User-Mode Linux with Minimal Changes from Original Kernel
نویسندگان
چکیده
This paper presents some aspects of implementing a User-Mode Linux with as few changes to the original Linux kernel as possible. To port a Linux kernel to a User-Mode environment, basically all parts of the kernel directly interacting with the hardware must be changed. To accomplish this, we need an environment which simulates some hardware parts. This includes simulation of interfaces to device controllers such as keyboard, IDE, graphics or network controller and other devices such as the real-time-clock. Secondly a solution must be found for replacing the assembler code contained within the original kernel with functions. The implementation of the functions, which are called instead of the assembler code, should not become part of the kernel, but be part of the User-Mode environment, just like the implementation of the assembler instructions is not part of the kernel but part of the CPU.
منابع مشابه
High-Performance Memory-Based Web Servers: Kernel and User-Space Performance
Web server performance has steadily improved since the inception of the World Wide Web. We observe performance gains of two orders of magnitude between the original process-based Web servers and today’s threaded Web servers. Commercial and academic Web servers achieved much of these gains using new or improved event-notification mechanisms and techniques to eliminate reading and copying data, b...
متن کاملMaking Linux Protection Mechanisms Egalitarian with UserFS
UserFS provides egalitarian OS protection mechanisms in Linux. UserFS allows any user-not just the system administrator-to allocate Unix user IDs, to use chroot, and to set up firewall rules in order to confine untrusted code. One key idea in UserFS is representing user IDs as files in a /proc-like file system, thus allowing applications to manage user IDs like any other files, by setting permi...
متن کاملImplementing a GDB Stub in Lightweight Kitten OS
Because of the increasing complexity of the applications running in Kitten, a lightweight HPC OS targeted for compute nodes of massively-parallel, distributed-memory supercomputers, and the complex hardware that Kitten is running on, bugs are becoming more difficult to find. As a result, the need for Kitten to support user-level application debugging becomes more critical. Unfortunately, Kitten...
متن کاملSafe Execution of User Programs in Kernel Mode Using Typed Assembly Language
In traditional operating systems, user programs suffer from the overhead of system calls because of transitions between the user mode and the kernel mode across their protection boundary. However, this overhead can be eliminated if the user programs can be executed safely inside the kernel mode. We achieve this effect by developing a safe kernel mode execution mechanism using TAL, Typed Assembl...
متن کاملSE Minneapolis , MN 55455 - 0159 USA TR 07 - 009 Practical Techniques for Eliminating Storage of Deleted Data
The layered design of modern file systems hides the liveness of data from the underlying storage systems. In this paper, we define a generic “purge” operation that can be used by a file system to pass liveness information to the storage system with minimal changes in the layer interfaces. We present three approaches for implementing such a purge operation: direct call, zero pages, and flagged w...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2002